package yto.freemarker.springbootstudy.util;

import java.text.ParseException;
import java.util.Date;

/**
 * @author dongxing
 * @create 2018-05-10 14:47
 **/
public class Te1 {
    public static void main(String[] args) throws ParseException {
        Long s = 1525047952476L - 1524532518807L;
        System.out.println(s);
        Date date = DateUtils.format(new Date(1524532518807L));
        String s1 = DateUtils.formatDate(date + "");
        System.out.println(s1);

        int i = DateUtils.getDaysBetweenDate(new Date(1525047952476L), new Date(1524532518807L));
        System.out.println(date);
        System.out.println(i);
    }
}
